---
id: 65647c71a5d2bd431596f629
title: Step 14
challengeType: 20
dashedName: step-14
---

# --description--

Your `generate_password` function needs a few parameters. Start by adding a `length` parameter.

# --hints--

Your `generate_password` function should take a `length` parameter.

```js
({ test: () => assert(__pyodide.runPython(`
    import inspect
    generate_psw = __locals.get("generate_password")
    sig = str(inspect.signature(generate_psw))
    sig == "(length)"
  `))
})
```

# --seed--

## --seed-contents--

```py
--fcc-editable-region--
import secrets
import string


def generate_password():    
    # Define the possible characters for the password
    letters = string.ascii_letters
    digits = string.digits
    symbols = string.punctuation

    # Combine all characters
    all_characters = letters + digits + symbols

--fcc-editable-region--
```
